package com.vm.osm.business.dto.app.rsp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by chenzui on 2018/4/12.
 * 1）故障单：故障标题、优先级、报修时间、预约时间、地点、客户名称（外部工单显示客户名称）、
 *      是否超期未接单；距离当前位置的公里数（小于一公里时，显示米）；
 * 2）巡检单：工单类型（巡检），巡检标题、计划时间，客户名称（外部工单显示客户名称）。
 */
@Data
public class AppOrderInfo {
    @ApiModelProperty(value = "1故障工单2巡检工单")
    String type;
    @ApiModelProperty(value = "主键")
    String id;
    @ApiModelProperty(value = "标题")
    String title;
    @ApiModelProperty(value = "优先级ID")
    String priority_id;

    @ApiModelProperty(value = "优先级")
    String priority_desc;

    @ApiModelProperty(value = "报修时间、计划时间")
    Date create_time;

    @ApiModelProperty(value = "预约时间")
    Date appointment_time;

    @ApiModelProperty(value = "企业名称")
    String enterprise_name;

    @ApiModelProperty(value = "企业ID")
    String enterprise_id;

    @ApiModelProperty(value = "是否超时")
    Integer is_out_time;

    @ApiModelProperty(value = "经度")
    String location_x;

    @ApiModelProperty(value = "纬度")
    String location_y;

    @ApiModelProperty(value = "巡检开始时间")
    String start_time;

    @ApiModelProperty(value = "地点")
    String location;

    @ApiModelProperty(value = "巡检结束时间")
    String end_time;

    @ApiModelProperty(value = "状态")
    String status;

    String is_from_out;
}
